﻿// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//

#pragma once

#define WINVER			0x0500
#define _WIN32_WINNT	0x0500	
#define _WIN32_WINDOWS	0x0410
#define _WIN32_IE		0x0600

#define WIN32_LEAN_AND_MEAN
#define _CRT_SECURE_NO_WARNINGS

#include <windows.h>
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>

#define CCALL		__cdecl
#define INLINE		__forceinline
#define ALIGN(n)	__declspec(align(n))
#define NAKED		__declspec(naked)

#ifndef _QWORD_DEFINED
#define _QWORD_DEFINED
typedef DWORDLONG QWORD;
#endif

#ifndef _LPQWORD_DEFINED
#define _LPQWORD_DEFINED
typedef QWORD *LPQWORD;
#endif

#ifndef _LPCBYTE_DEFINED
#define _LPCBYTE_DEFINED
typedef const BYTE *LPCBYTE;
#endif

#ifndef _LPCWORD_DEFINED
#define _LPCWORD_DEFINED
typedef const WORD *LPCWORD;
#endif

#ifndef _LPCDWORD_DEFINED
#define _LPCDWORD_DEFINED
typedef const DWORD *LPCDWORD;
#endif

#ifndef _LPCQWORD_DEFINED
#define _LPCQWORD_DEFINED
typedef const QWORD *LPCQWORD;
#endif
